package com.jisf.driver.service;

import com.jisf.driver.entity.po.Student;
import com.baomidou.mybatisplus.extension.service.IService;
import com.jisf.driver.entity.vo.StudentMessageResponseVo;
import com.jisf.driver.entity.vo.StudentMessageVo;
import com.jisf.driver.entity.vo.UserListRequestVo;
import com.jisf.driver.response.ResultCode;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author jisf
 * @since 2022-05-06
 */
public interface IStudentService extends IService<Student> {

    /**
     * 学员获取个人信息
     * @return
     */
    StudentMessageVo getMessage();

    /**
     * 学员完善个人信息
     * @param studentMessageVo
     * @return
     */
    ResultCode completeMessage(StudentMessageVo studentMessageVo);

    /**
     * 查询所有学员
     * @return
     */
    StudentMessageResponseVo allStudent(UserListRequestVo userListRequestVo);

    /**
     * 修改学员信息
     * @param studentMessageVo
     * @return
     */
    ResultCode updateStudent(StudentMessageVo studentMessageVo);
}
